//===============================================================================
// Microsoft patterns & practices
// Smart Client Baseline Architecture Toolkit
//===============================================================================
// Copyright  Microsoft Corporation.  All rights reserved.
// THIS CODE AND INFORMATION IS PROVIDED "AS IS" WITHOUT WARRANTY
// OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT
// LIMITED TO THE IMPLIED WARRANTIES OF MERCHANTABILITY AND
// FITNESS FOR A PARTICULAR PURPOSE.
//===============================================================================
// The example companies, organizations, products, domain names,
// e-mail addresses, logos, people, places, and events depicted
// herein are fictitious.  No association with any real company,
// organization, product, domain name, email address, logo, person,
// places, or events is intended or should be inferred.
//===============================================================================

using System;
using System.Collections.Generic;
using System.Text;
using Microsoft.Practices.CompositeUI.SmartParts;
using System.Drawing;

namespace CompositeUIExtensions.Winforms
{
	public class OutlookBarSmartPartInfo : SmartPartInfo
	{
        private Image _icon;
        private string _eventTopicName;
        private Color _imageTransparentColor = Color.Empty;

        public Color ImageTransparentColor
        {
            get { return _imageTransparentColor; }
            set { _imageTransparentColor = value; }
        }

        public string EventTopicName
        {
            get { return _eventTopicName; }
            set { _eventTopicName = value; }
        }

		public Image Icon
		{
			get { return _icon; }
			set { _icon = value; }
		}

        public OutlookBarSmartPartInfo()           
        { }

        public OutlookBarSmartPartInfo(string title, Image icon)
            : this (title, icon, String.Empty)
        { }

        public OutlookBarSmartPartInfo(string title, Image icon, string eventTopic)
        {
            this.Title = title;
            this._icon = icon;
            this._eventTopicName = eventTopic;
        }
	}
}
